
class FEMessage :

    def __init__ (self, toUN, fromUN, text, YYYY, DD, MM, HH, MI, SS, SSS, G):
        self.toUserName = toUN
        self.fromUserName = fromUN
        self.messageText = text
        self.year = YYYY
        self.day = DD
        self.month = MM
        self.hour = HH
        self.minute = MI
        self.second = SS
        self.millisecond = SSS
        self.groupList = G

    def __str__(self):
        return "Front end message from %s to %s data=%s" % (self.toUserName, self.fromUserName, self.messageText)
